/***
 * @Author: LVGRAPE
 * @Date: 2023-12-02 18:19:06
 * @LastEditTime: 2023-12-02 19:33:11
 * @LastEditors: LVGRAPE
 * @Description:
 * @FilePath: \zino-fc-v4\ZINO\hardware\lsm6dsr\lsm6dsr_regmap.h
 * @要啥没啥，爱咋咋的
 */

#ifndef __LSM6DSR_REG_H_
#define __LSM6DSR_REG_H_
#ifdef __cplusplus
extern "C"
{
#endif // __cplusplus

    enum LSM6DSR_REGISTER_MAP {
        LSM6DSR_REG_FUNC_CFG_ACCESS = 0X01,//Enable embedded functions register (r/w)
        LSM6DSR_REG_PIN_CTRLR = 0X02,
        LSM6DSR_REG_S4S_TPH_L = 0X04,
        LSM6DSR_REG_S4S_TPH_H = 0X05,
        LSM6DSR_REG_S4S_RR = 0X06,
        LSM6DSR_REG_FIFO_CTRL1 = 0X07,
        LSM6DSR_REG_FIFO_CTRL2 = 0X08,
        LSM6DSR_REG_FIFO_CTRL3 = 0X09,
        LSM6DSR_REG_FIFO_CTRL4 = 0X0A,
        LSM6DSR_REG_COUNTER_BDR_REG1 = 0X0B,
        LSM6DSR_REG_COUNTER_BDR_REG2 = 0X0C,
        LSM6DSR_REG_INT1_CTRL = 0X0D,
        LSM6DSR_REG_INT2_CTRL = 0X0E,
        LSM6DSR_REG_WHO_AM_I = 0X0F,
        LSM6DSR_REG_CTRL1_XL = 0X10,
        LSM6DSR_REG_CTRL2_G = 0X11,
        LSM6DSR_REG_CTRL3_C = 0X12,
        LSM6DSR_REG_CTRL4_C = 0X13,
        LSM6DSR_REG_CTRL5_C = 0X14,
        LSM6DSR_REG_CTRL6_C = 0X15,
        LSM6DSR_REG_CTRL7_G = 0X16,
        LSM6DSR_REG_CTRL8_XL = 0X17,
        LSM6DSR_REG_CTRL9_XL = 0X18,
        LSM6DSR_REG_CTRL10_C = 0X19,
        LSM6DSR_REG_ALL_INT_SRC = 0X1A,
        LSM6DSR_REG_WAKE_UP_SRC = 0X1B,
        LSM6DSR_REG_TAP_SRC = 0X1C,
        LSM6DSR_REG_D6D_SRC = 0X1D,
        LSM6DSR_REG_STATUS_REG = 0X1E,
        LSM6DSR_REG_OUT_TEMP_L = 0X20,
        LSM6DSR_REG_OUT_TEMP_H = 0X21,
        LSM6DSR_REG_OUTX_L_G = 0X22,
        LSM6DSR_REG_OUTX_H_G = 0X23,
        LSM6DSR_REG_OUTY_L_G = 0X24,
        LSM6DSR_REG_OUTY_H_G = 0X25,
        LSM6DSR_REG_OUTZ_L_G = 0X26,
        LSM6DSR_REG_OUTZ_H_G = 0X27,
        LSM6DSR_REG_OUTX_L_A = 0X28,
        LSM6DSR_REG_OUTX_H_A = 0X29,
        LSM6DSR_REG_OUTY_L_A = 0X2A,
        LSM6DSR_REG_OUTY_H_A = 0X2B,
        LSM6DSR_REG_OUTZ_L_A = 0X2C,
        LSM6DSR_REG_OUTZ_H_A = 0X2D,
        LSM6DSR_REG_EMB_FUNC_STATUS_MAINPAGE = 0X35,
        LSM6DSR_REG_FSM_STATUS_A_MAINPAGE = 0X36,
        LSM6DSR_REG_FSM_STATUS_B_MAINPAGE = 0X37,
        LSM6DSR_REG_STATUS_MASTER_MAINPAGE = 0X39,
        LSM6DSR_REG_FIFO_STATUS1 = 0X3A,
        LSM6DSR_REG_FIFO_STATUS2 = 0X3B,
        LSM6DSR_REG_TIMESTAMPO = 0X40,
        LSM6DSR_REG_TIMESTAMP1 = 0X41,
        LSM6DSR_REG_TIMESTAMP2 = 0X42,
        LSM6DSR_REG_TIMESTAMP3 = 0X43,
        LSM6DSR_REG_TAP_CFGO = 0X56,
        LSM6DSR_REG_TAP_CFG1 = 0X57,
        LSM6DSR_REG_TAP_CFG2 = 0X58,
        LSM6DSR_REG_TAP_THS_6D = 0X59,
        LSM6DSR_REG_INT_DUR2 = 0X5A,
        LSM6DSR_REG_WAKE_UP_THS = 0X5B,
        LSM6DSR_REG_WAKE_UP_DUR = 0X5C,
        LSM6DSR_REG_FREE_FALL = 0X5D,
        LSM6DSR_REG_MD1_CFG = 0X5E,
        LSM6DSR_REG_MD2_CFG = 0X5F,
        LSM6DSR_REG_S4S_ST_CMD_CODE = 0X60,
        LSM6DSR_REG_S4S_DT_REG = 0X61,
        LSM6DSR_REG_I3C_BUS_AVB = 0X62,
        LSM6DSR_REG_INTERNAL_FREQ_FINE = 0X63,
        LSM6DSR_REG_INT_OIS = 0X6F,
        LSM6DSR_REG_CTRL1_0IS = 0X70,
        LSM6DSR_REG_CTRL2_OIS = 0X71,
        LSM6DSR_REG_CTRL3_OIS = 0X72,
        LSM6DSR_REG_X_OFS_USR = 0X73,
        LSM6DSR_REG_Y_OFS_USR = 0X74,
        LSM6DSR_REG_Z_OFS_USR = 0X75,
        LSM6DSR_REG_FIFO_DATA_OUT_TAG = 0X78,
        LSM6DSR_REG_FIFO_DATA_OUT_X_L = 0X79,
        LSM6DSR_REG_FIFO_DATA_OUT_X_H = 0X7A,
        LSM6DSR_REG_FIFO_DATA_OUT_Y_L = 0X7B,
        LSM6DSR_REG_FIFO_DATA_OUT_Y_H = 0X7C,
        LSM6DSR_REG_FIFO_DATA_OUT_Z_L = 0X7D,
        LSM6DSR_REG_FIFO_DATA_OUT_Z_H = 0X7E,
    };

#ifdef __cplusplus
}
#endif // __cplusplus
#endif
